package com.thomasmoerman.dci3.frw

import org.hibernate.Session

class DataAccessHelper 
  extends TransactionalWithSpring 
     with HibernateSessionProvider
     with InjectedTransactionManager {
  
  def execute[T](f: Session => T): T = inTransaction()(f.apply(session))

}